home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1993 November
/
JCSM Shareware Collection - 1993-11.iso
/
cl720
/
sst115j.lzh
/
SDEMO.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-01
|
2KB
|
66 lines
/* ------------------------------------------------------------------------ */
/* test module for selection system */
/* ------------------------------------------------------------------------ */
#include <stdio.h>
#include <conio.h>
#include "sstkey.h"
#include "sstwin.h"
#include "sstsel.h"
/* ------------------------------------------------------------------------ */
/* print all the items selected */
/* ------------------------------------------------------------------------ */
void printlist(char *s)
{
printf("%s\n",s);
}
/* ------------------------------------------------------------------------ */
/* main */
/* ------------------------------------------------------------------------ */
void main(void)
{
char *s;
clrscr();
Sinsert("1 Australiana");
Sinsert("2 Belgium Marsupila city");
Sinsert("3 Brazil");
Sinsert("4 Canada");
Sinsert("5 Czechoslovakia");
Sinsert("6 Denmark");
Sinsert("7 Finland");
Sinsert("8 Lets dance in France");
Sinsert("9 Germany");
Sinsert("10 Hungary");
Sinsert("11 Iceland");
Sinsert("12 Israel");
Sinsert("13 Spaghetti munching wog Italy");
Sinsert("14 Japan");
Sinsert("15 Korea");
Sinsert("16 Latin America");
Sinsert("17 Netherlands");
Sinsert("18 Shii Hoopers Hilbilly Norway");
Sinsert("19 Poland");
Sinsert("20 Portugal");
Sinsert("21 Spain");
Sinsert("22 Sweden");
Sinsert("23 Switczerland");
Sinsert("24 Taiwan");
Sinsert("25 United Kingdom");
Sinsert("26 United States");
Sinsert("27 Yugoslavia");
s = Sselonestr(10,3,10);
printf("%s\n",s);
/*Sforeach(printlist);
Sdelete();
*/
}